package com.killer.pojo;

import java.util.List;

/**
 * @author ：Killer
 * @date ：Created in 20-10-26 上午10:07
 * @description：${description}
 * @modified By：
 * @version: version
 */
public class BeanDefinition {

    /**
     * beanId,当然也可以是beanName
     */
    private String id;

    /**
     * 该bean对应的类型
     */
    private Class<?> beanClass;

    /**
     * 该bean对应的字段
     */
    private List<PropertyValue> propertyValueList;

    public BeanDefinition(String id, Class<?> beanClass, List<PropertyValue> propertyValueList) {
        this.id = id;
        this.beanClass = beanClass;
        this.propertyValueList = propertyValueList;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Class<?> getBeanClass() {
        return beanClass;
    }

    public void setBeanClass(Class<?> beanClass) {
        this.beanClass = beanClass;
    }

    public List<PropertyValue> getPropertyValueList() {
        return propertyValueList;
    }

    public void setPropertyValueList(List<PropertyValue> propertyValueList) {
        this.propertyValueList = propertyValueList;
    }
}
